package com.yxinmiracle.search.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @version 1.0
 * @author： YxinMiracle
 * @date： 2021-08-14 10:36
 */
@FeignClient(name = "search",path = "/search")
public interface SkuFeign {
    @PostMapping
    public Map<String,Object> search(@RequestBody(required = false)Map<String, String> searchMap);
}
